﻿using System;
using System.Collections.Generic;
using UnityEngine;
// Actor/Attribute/MovementAttribute.cs

[Serializable]
public class MovementAttribute : Attribute
{
    private float _speedValue;
    private bool _canRush;

    public float SpeedValue
    {
        get { return _speedValue; }
        set
        {
            if (_speedValue == value)
            {
                return;
            }
            _speedValue = value;
        }
    }

    public bool CanRush
    {
        get { return _canRush; }
        set
        {
            if (_canRush == value)
            {
                return;
            }
            _canRush = value;
        }
    }
}